home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / cujaug93.zip / 1108121B < prev    next >
Text File  |  1993-05-23  |  219b  |  19 lines

  1.  1: struct X
  2.  2:     {
  3.  3:     static int i;
  4.  4:     class Y
  5.  5:         {
  6.  6:         void f();
  7.  7:         };
  8.  8:     };
  9.  9: 
  10. 10: class Z
  11. 11:     {
  12. 12:     static int i;
  13. 13:     friend void X::Y::f()
  14. 14:         {
  15. 15:         i = 5;
  16. 16:         }
  17. 17:     };
  18.  
  19.